package ad.android.service.base;

import java.io.IOException;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class BaseService {
	protected final Log log = LogFactory.getLog(getClass());

	protected void logDebug(String info) {
		if (log.isDebugEnabled()) {
			log.debug(info);
		}
	}
	
	protected void logDebug(String str, Exception e) {
		if (log.isDebugEnabled()) {
			log.debug(str,e);
		}
	}

}
